package com.power.services.group;

import java.util.List;
import java.util.Map;

import com.power.model.group.TiGroup;
import com.power.services.GenericService;
import com.power.util.PageUtil;

public interface TiGroupService extends GenericService<TiGroup, Integer> {

    public Map<String, Object> findAll(String name, int start, int limit, Integer hid,Integer did);
    
    public void saveOrUpdate(TiGroup tiGroup);
    
    public void delete(String ids);
    
    public String getProName(Integer code);
    public String getProId(Integer code);
    public String setDistrictName(Integer code);
    public Map<String, Object> findComboxAll(String name, int start, int limit, Integer did);
	public void deleteHos(String ids);
	
	/**
	 * 查找科室的所有组
	 * @param did
	 * @return
	 */
	public List<TiGroup> findByDepartId(Integer did);

	public PageUtil searchGroup(String keyword, int pageNo, int limit);
	
	public List<TiGroup> findBySearchKeyWord(String keyword);
}
